<!DOCTYPE html>
<script>
  function finishTest() {
    testRunner.notifyDone();
  }

  function scaleDown() {
    testRunner.setBackingScaleFactor(1, finishTest);
  }
  function startTest() {
    testRunner.waitUntilDone();
    testRunner.setBackingScaleFactor(3, scaleDown);
  }
  if (window.testRunner) {
    onload = startTest;
  }
</script>
<div id="div" style="width:200px; height:120px; overflow:auto">
  <br>This should be a scrollable text box with horizontal and vertical scroll.
  <div style="width:400px; height: 200px;"></div>
</div>
